//
//  CYImageCell.m
//  aLiPay
//
//  Created by ccy on 2017/5/19.
//  Copyright © 2017年 ccy. All rights reserved.
//

#import "CYImageCell.h"
#//define this constant if you want to use Masonry without the 'mas_' prefix
#define MAS_SHORTHAND

//define this constant if you want to enable auto-boxing for default syntax
#define MAS_SHORTHAND_GLOBALS
#import "Masonry.h"

@interface CYImageCell ()



@end

@implementation CYImageCell

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        [self setupUI];
    }
    return self;
}

#pragma mark
#pragma mark - 设置UI
-(void)setupUI
{
    //设置imageView
    UIImageView *imageView = [[UIImageView alloc]init];
    //添加
    [self.contentView addSubview:imageView];
    self.imageView = imageView;

    //设置约束
    [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView);
    }];


}


@end
